package com.lrw.util;

public class SqlStringUtil {
	public static String getCountSql(String sql) {
		String countSqlString = sql.substring(sql.indexOf("from"));
		// System.out.println(countSqlString);
		return "select count(1) " + countSqlString;
	}
}
